package com.eneat.smartrule.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;



@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RuleExecutionRecord  extends BaseModel{

    @Schema(description = "规则id")
    private Long ruleId;

    @Schema(description = "规则名称，冗余一个字段，方便查询")
    private String ruleName;

    @Schema(description = "输入参数，JSON 存储")
    private String inputEnv;

    @Schema(description = "表达式字符串")
    private String expression;

    @Schema(description = "执行结果（true/false 或数值）")
    private String result;

}